package src.week03.starbucks_ex;

public class IceCream extends Drinkecorator {
    private double price= 15;
    public IceCream(IDrink iDrink) {
        super(iDrink);
    }

    @Override
    public double getPrice() {
        System.out.println("IceCream: "+price);
        iDrink.getPrice();
        return price;
    }
}